SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 68979: Using the ANYDTDTMw. informat with missing datetime values returns an INVALID DATA message after you have applied Hot Fix I9R046

DetailsHotfixAboutRate It

Hot Fix I9R046 resolves the issue of the SAS® log not indicating a problem with any INVALID DATA messages, as described in SAS Note 68071, "The ANYDTDTMw. informat does not read a datetime value with trailing characters correctly in the SAS® 9.4M4 (TS1M4) release and in later releases."  However, after you have applied Hot Fix I9R046, a missing datetime value returns an INVALID DATA message to the SAS log when using the ANYDTDTM. informat.

Here is an example of the SAS code and the SAS log:

data projectdata;
   infile 'c:\projectdata.csv' delimiter = ',' TRUNCOVER DSD firstobs=2 ;
   input projectid project $ PEDAT : anydtdtm40. CPEDAT : date9.;
   format pedat datetime25. cpedat mmddyy10. ;
run;
 NOTE: Invalid data for PEDAT in line 3 10-10.
RULE: ---++--1------2----3------4----5------6--+--7------8------
3 1,XX0011,, 10
projectid=1 project=XX0011 PEDAT=. CPEDAT=. ERROR=1 N=2

Click the Hot Fix tab in this note to access the hot fix for this issue.

After you apply the hot fix in this note, the SAS log no longer returns INVALID DATA messages when using the ANYDTDTM. informat and reading a datetime value that is missing. 

The hot fix applies to all three of the ANYDT* family of informats:

  • ANYDTDTE
  • ANYDTTME
  • ANYDTDTM


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.4 TS1M79.4 TS1M8
z/OS 64-bit9.4 TS1M79.4 TS1M8
Microsoft® Windows® for x649.4 TS1M79.4 TS1M8
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8 Enterprise x649.4 TS1M79.4 TS1M8
Microsoft Windows 8 Pro 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8 Pro x649.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Enterprise x649.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Pro x649.4 TS1M79.4 TS1M8
Microsoft Windows 109.4 TS1M79.4 TS1M8
Microsoft Windows 119.4 TS1M79.4 TS1M8
Microsoft Windows Server 20089.4 TS1M79.4 TS1M8
Microsoft Windows Server 2008 R29.4 TS1M79.4 TS1M8
Microsoft Windows Server 2008 for x649.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 Datacenter9.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 R2 Std9.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 Std9.4 TS1M79.4 TS1M8
Microsoft Windows Server 20169.4 TS1M79.4 TS1M8
Microsoft Windows Server 20199.4 TS1M79.4 TS1M8
Microsoft Windows Server 20229.4 TS1M79.4 TS1M8
Windows 7 Enterprise 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Enterprise x649.4 TS1M79.4 TS1M8
Windows 7 Home Premium 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Home Premium x649.4 TS1M79.4 TS1M8
Windows 7 Professional 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Professional x649.4 TS1M79.4 TS1M8
Windows 7 Ultimate 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Ultimate x649.4 TS1M79.4 TS1M8
64-bit Enabled AIX9.4 TS1M79.4 TS1M8
64-bit Enabled Solaris9.4 TS1M79.4 TS1M8
HP-UX IPF9.4 TS1M79.4 TS1M8
Linux for x649.4 TS1M79.4 TS1M8
Solaris for x649.4 TS1M79.4 TS1M8
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.